* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.container {
    height: 300px;
    width: 400px;
    /* border: 1px solid #000; */
    box-shadow: 2px 2px 4px rgba(0, 0, 0, .4);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
}

.top {
    flex: 1;
    border: 1px solid #000;
}

.bottom {
    flex: 1;
    border: 1px solid #000;
    display: flex;
    flex-direction: column;
}

.title {
    text-align: center;
    font-size: 24px;
    height: 24px;
    /* border: 1px solid #000; */
}

.content {
    flex: 1;
    font-size: 20px;
    margin: 20px;
    /* border: 1px solid #000; */
}

.bg {
    background-image: linear-gradient(to right,
            #f6f7f8 0%,
            #edeef1 10%,
            #f6f7f8 20%,
            #f6f7f8 100%);
    background-size: 200% 100%;
    animation: bgPos 1s linear infinite;
}

@keyframes bgPos {
    0% {
        background-position: 50% 0;
    }

    100% {
        background-position: -150% 0;
    }
}